#ifndef IMPSPHEREOBJECT
#define IMPSPHEREOBJECT

#include "ImpSurfaceObject.h"

class ImpSphereObject : public SurfaceObject {
    public:
        ImpSphereObject();
        ImpSphereObject(float);
        bool Intersects(Ray, Vector3&);
        Vector3 GetNormal(Vector3);
        float DistanceToPointPow2(Vector3);
        Ray Refract(Ray, Vector3, float);
        Vector3 GetRandomPositionInObject();
    private:
        float _radius;
};

#endif



